// JavaScript Document

function page_load() 
{
	var sql="select * from agt_v where parent_id='$uid$$'";
	var orm=new atiOrmV4();
		orm.obj=sql ;
		orm.metaParam="$utype=agent";
	orm.callbackFun=function(data)
	{
		
			try{
			  processJavaEx_V2q315(data);
		   }catch(e)
		   {
			 
				 
				  showErr(e);
				  return;
		  
		   }
		   var json=str2json(data);
		  
		  var list=new ListUl("#menu");
		 
		   list.bindData(json);
		   
		   
		   
		   	
		   
	};
	orm.query();
	
}